import App from './App'
import Nomore from "@/components/common/nomore.vue"
import request from "@/utils/request.js"
import store from "@/store/index.js"
// #ifndef VUE3
import Vue from 'vue'
Vue.prototype.http = request
Vue.prototype.go = (url) => {
	uni.navigateTo({
		url
	})
}
Vue.prototype.toast = (title) => {
	uni.showToast({
		title,
		icon: "none"
	})
}
Vue.prototype.$store = store;
Vue.component("Nomore", Nomore)
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif